package com.guo.fristspringboot.mapper;

import com.guo.fristspringboot.entity.Student;
import com.guo.fristspringboot.entity.Teacher;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface TeacherMapper {

    Teacher getById(String t_id);

    List<Teacher> getAll();
}
